package com.example.demo.client.evt.sysbasequery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author tangrh
 */
@ApiModel("查询用户密码")
public class LoginNameEvt implements Serializable {
    private static final long serialVersionUID = 8348863352733406174L;
    @ApiModelProperty(name = "登录名", required = true)
    @NotBlank
    private String loginName;
    @ApiModelProperty("区域id")
    private Long regionId;
    @ApiModelProperty("关键字")
    private String keyword;
    @ApiModelProperty("角色名")
    private String roleName;
    @ApiModelProperty("角色描述")
    private String desc;
    @ApiModelProperty("角色类型")
    private Integer roleType;

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Long getRegionId() {
        return regionId;
    }

    public void setRegionId(Long regionId) {
        this.regionId = regionId;
    }

    @Override
    public String toString() {
        return "LoginNameEvt{" +
                "loginName='" + loginName + '\'' +
                ", regionId=" + regionId +
                ", keyword='" + keyword + '\'' +
                ", roleName='" + roleName + '\'' +
                ", desc='" + desc + '\'' +
                ", roleType=" + roleType +
                '}';
    }
}
